﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, DataContract(Name="LocationTemplateQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class LocationTemplateQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescriptionField;
        [OptionalField]
        private string Field1DescField;
        [OptionalField]
        private string Field1LengthField;
        [OptionalField]
        private string Field1TypeField;
        [OptionalField]
        private string Field2DescField;
        [OptionalField]
        private string Field2LengthField;
        [OptionalField]
        private string Field2TypeField;
        [OptionalField]
        private string Field3DescField;
        [OptionalField]
        private string Field3LengthField;
        [OptionalField]
        private string Field3TypeField;
        [OptionalField]
        private string Field4DescField;
        [OptionalField]
        private string Field4LengthField;
        [OptionalField]
        private string Field4TypeField;
        [OptionalField]
        private string Field5DescField;
        [OptionalField]
        private string Field5LengthField;
        [OptionalField]
        private string Field5TypeField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string LocTemplateIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SeperatorCharField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Description
        {
            get
            {
                return this.DescriptionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescriptionField, value))
                {
                    this.DescriptionField = value;
                    base.RaisePropertyChanged("Description");
                }
            }
        }

        [DataMember]
        public string Field1Desc
        {
            get
            {
                return this.Field1DescField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field1DescField, value))
                {
                    this.Field1DescField = value;
                    base.RaisePropertyChanged("Field1Desc");
                }
            }
        }

        [DataMember]
        public string Field1Length
        {
            get
            {
                return this.Field1LengthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field1LengthField, value))
                {
                    this.Field1LengthField = value;
                    base.RaisePropertyChanged("Field1Length");
                }
            }
        }

        [DataMember]
        public string Field1Type
        {
            get
            {
                return this.Field1TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field1TypeField, value))
                {
                    this.Field1TypeField = value;
                    base.RaisePropertyChanged("Field1Type");
                }
            }
        }

        [DataMember]
        public string Field2Desc
        {
            get
            {
                return this.Field2DescField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field2DescField, value))
                {
                    this.Field2DescField = value;
                    base.RaisePropertyChanged("Field2Desc");
                }
            }
        }

        [DataMember]
        public string Field2Length
        {
            get
            {
                return this.Field2LengthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field2LengthField, value))
                {
                    this.Field2LengthField = value;
                    base.RaisePropertyChanged("Field2Length");
                }
            }
        }

        [DataMember]
        public string Field2Type
        {
            get
            {
                return this.Field2TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field2TypeField, value))
                {
                    this.Field2TypeField = value;
                    base.RaisePropertyChanged("Field2Type");
                }
            }
        }

        [DataMember]
        public string Field3Desc
        {
            get
            {
                return this.Field3DescField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field3DescField, value))
                {
                    this.Field3DescField = value;
                    base.RaisePropertyChanged("Field3Desc");
                }
            }
        }

        [DataMember]
        public string Field3Length
        {
            get
            {
                return this.Field3LengthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field3LengthField, value))
                {
                    this.Field3LengthField = value;
                    base.RaisePropertyChanged("Field3Length");
                }
            }
        }

        [DataMember]
        public string Field3Type
        {
            get
            {
                return this.Field3TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field3TypeField, value))
                {
                    this.Field3TypeField = value;
                    base.RaisePropertyChanged("Field3Type");
                }
            }
        }

        [DataMember]
        public string Field4Desc
        {
            get
            {
                return this.Field4DescField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field4DescField, value))
                {
                    this.Field4DescField = value;
                    base.RaisePropertyChanged("Field4Desc");
                }
            }
        }

        [DataMember]
        public string Field4Length
        {
            get
            {
                return this.Field4LengthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field4LengthField, value))
                {
                    this.Field4LengthField = value;
                    base.RaisePropertyChanged("Field4Length");
                }
            }
        }

        [DataMember]
        public string Field4Type
        {
            get
            {
                return this.Field4TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field4TypeField, value))
                {
                    this.Field4TypeField = value;
                    base.RaisePropertyChanged("Field4Type");
                }
            }
        }

        [DataMember]
        public string Field5Desc
        {
            get
            {
                return this.Field5DescField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field5DescField, value))
                {
                    this.Field5DescField = value;
                    base.RaisePropertyChanged("Field5Desc");
                }
            }
        }

        [DataMember]
        public string Field5Length
        {
            get
            {
                return this.Field5LengthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field5LengthField, value))
                {
                    this.Field5LengthField = value;
                    base.RaisePropertyChanged("Field5Length");
                }
            }
        }

        [DataMember]
        public string Field5Type
        {
            get
            {
                return this.Field5TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.Field5TypeField, value))
                {
                    this.Field5TypeField = value;
                    base.RaisePropertyChanged("Field5Type");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string LocTemplateID
        {
            get
            {
                return this.LocTemplateIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocTemplateIDField, value))
                {
                    this.LocTemplateIDField = value;
                    base.RaisePropertyChanged("LocTemplateID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SeperatorChar
        {
            get
            {
                return this.SeperatorCharField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SeperatorCharField, value))
                {
                    this.SeperatorCharField = value;
                    base.RaisePropertyChanged("SeperatorChar");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

